-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency com.squareup.retrofit2:retrofit to v2.10.0 #2567
Conversation
|
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #2567 +/- ##
========================================
Coverage 73.14% 73.14%
========================================
Files 1408 1408
Lines 34095 34095
Branches 6617 6617
========================================
Hits 24939 24939
Misses 5699 5699
Partials 3457 3457 ☔ View full report in Codecov by Sentry. |
We may want to change the coordinates of |
Yes, do u take the point? |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠ Warning: custom changes will be lost. |
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @bmarty!
This PR contains the following updates:
2.9.0
->2.10.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
square/retrofit (com.squareup.retrofit2:retrofit)
v2.10.0
Compare Source
New
Support using
Unit
as a response type. This can be used for non-body HTTP methods likeHEAD
or body-containing HTTP methods likeGET
where the body will be discarded without deserialization.kotlinx.serialization converter!
This was imported from github.com/JakeWharton/retrofit2-kotlinx-serialization-converter/ and remains unchanged from its 1.0.0 release.
The Maven coordinates are
com.squareup.retrofit2:converter-kotlinx-serialization
.JAXB 3 converter!
The Maven coordinates are
com.squareup.retrofit2:converter-jaxb3
.@Header
,@Headers
, and@HeaderMap
can now set non-ASCII values through theallowUnsafeNonAsciiValues
annotation property. These are not technically compliant with the HTTP specification, but are often supported or required by services.Publish a BOM of all modules. The Maven coordinates are
com.squareup.retrofit2:retrofit-bom
.Invocation
now exposes the serviceClass<?>
and the instance on which the method was invoked. This disambiguates the source when service inheritence is used.A response type keeper annotation processor is now available for generating shrinker rules for all referenced types in your service interface. In some cases, it's impossible for static shrinker rules to keep the entirety of what Retrofit needs at runtime. This annotation processor generates those additional rules. For more info see its README.
Changed
Call
,Response
, etc.) which are used via reflection at runtime.Retrofit.create
function now has a non-null lower bound. Even if you specified a nullable type before this function would never return null.Throwable
subtypes (not justException
subtypes) to avoid Java'sUndeclaredThrowableException
when thrown synchronously.suspend fun
functions that returnCall<Body>
. These are never correct, and should declare a return type ofBody
directly.create(ObjectMapper, MediaType)
overload to supply the value of theContent-Type
header for your format.Fixed
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.